{include file="Include/H_ui_head" /}
<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i><a class="btn btn-success radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="page-container">
    <!-- <div class="cl pd-5 bg-1 bk-gray mt-20"> <span class="l"> <a href="javascript:;" onclick="member_edit('添加公告','{:Url('Platform/about_edit')}','','510')" class="btn btn-primary radius"><i class="Hui-iconfont">&#xe600;</i> 添加公告</a></span> <span class="r">共有数据：<strong>{$count}</strong> 条</span> </div> -->
    <div class="mt-20">
        <table class="table table-border table-bordered table-hover table-bg ">
            <thead>
            <tr class="text-c">
                <th width="5%">序号</th>
                <th width="20%">提现人</th>
                <th width="20%">提现金额</th>
                <th width="20%">时间</th>
                <th width="20%">操作</th>
            </tr>
            </thead>
            <tbody>
            {volist name="rs" id="val" key="k"}
            <tr class="text-c">
                <td>{$k}</td>
                <td>{$val.user_name}</td>
                <td>{$val.with_money}</td>
                <td>{$val.create_time}</td>
                <td class="td-manage">
                    {if $val.status == 0}
                    <a title="处理" href="javascript:;" onclick="member_edit('编辑','{:Url('Platform/about_edit',['id'=>$val['with_id']])}','4','','510')" class="ml-5" style="text-decoration:none">处理</a>
                        {else}
                        {if $val.status == 1}
                        已处理
                        {else}
                        已驳回
                        {/if}
                    <a title="删除" href="javascript:;" onclick="member_del(this,'{$val.with_id}')" class="ml-5" style="text-decoration:none"><i class="Hui-iconfont">&#xe6e2;</i></a>
                    {/if}
                </td>
            </tr>
            {/volist}
            </tbody>
        </table>
        <div style="float: right">{$page}</div>
    </div>
</div>
{include file="Include/H_ui_foot" /}
<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="__LIB__/My97DatePicker/4.8/WdatePicker.js"></script>
<script type="text/javascript">
    /*编辑*/
    function member_edit(title,url,id,w,h){
        layer_show(title,url,w,h);
    }
    //删除
    /*用户-删除*/
    function member_del(obj,id){
        layer.confirm('确认要删除吗？',function(index){
            $.ajax({
                type: 'POST',
                url: "{:Url('Platform/about_del')}",
                dataType: 'json',
                data : {id:id},
                success: function(data){
                    $(obj).parents("tr").remove();
                    layer.msg('已删除!',{icon:1,time:1000});
                },
                error:function(data) {
                    console.log(data.msg);
                },
            });
        });
    }
</script>
</body>
</html>
